<?php  
use \app\common\services\UrlService;
use \app\common\services\StaticService;
StaticService::includeAppJsStatic( "/js/m/user/cart.js",\app\assets\MAsset::className() );
?>
<div style="min-height: 500px;">
	<div class="order_pro_box">
    	<ul class="order_pro_list">
    	<?php foreach($list as $v):?>
        	<li data-price="<?=$v['price']?>">
				<a href="<?=UrlService::buildMUrl('/product/info',['id'=>$v['id']])?>" class="pic" >
                <img src="<?=UrlService::buildPicUrl('book',$v['main_image'])?>" style="height: 100px;width: 100px;"/>
            </a>
			<h2><a href="<?=UrlService::buildMUrl('/product/info',['id'=>$v['id']])?>"><?=$v['name']?></a></h2>
			<div class="order_c_op">
				<b>¥<?=$v['price']?></b>
				<span class="delC_icon" data="1" data-book_id="<?=$v['id']?>"></span>
				<div class="quantity-form">
					<a class="icon_lower" data-book_id="<?=$v['id']?>" ></a>

					<input type="text" name="quantity" class="input_quantity" value="<?=$v['quantity']?>" readonly="readonly" max="<?=$v['stock']?>" />
					
					<a class="icon_plus" data-book_id="<?=$v['id']?>"></a>
				</div>
			</div>
		</li>
	<?php endforeach;?>
        	</ul>
    </div>
<div class="cart_fixed">
	<a href="javascript:void(0)" class="billing_btn">结算</a>
	<b>合计：<strong>¥</strong><font id="price">0.00</font></b>
</div></div>
